package com.jxdinfo.hussar.cloud.module.example.tjjc.towernotice.dao;

import com.jxdinfo.hussar.cloud.module.example.tjjc.towernotice.model.TowerNotice;
import com.jxdinfo.hussar.support.mp.base.mapper.HussarMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 塔机异常通知Mapper接口
 */
@Mapper
@Repository("tjjc.towernotice.TowerNoticeMapper")
public interface TowerNoticeMapper extends HussarMapper<TowerNotice> {
    Integer getDayTowerNoticeCount(@Param("tyProjectCode") String tyProjectCode,@Param("noticeLevel") Integer noticeLevel);

    void updateReadStatus(@Param("noticeId") String noticeId);
}
